//
///
function CFile_dfStrToFileList(dfStr, isCInt4 = false) {
    let dirList = {};
    let fileList = [];
    let dataArr = dfStr.split("\n");

    let currIndex = 0;
    let currDirName = "";
    let splitDir = CString.cSplit07 + "";
    let fileNumber = 0;
    for (let i = 0; i < dataArr.length; i++) {
        let name = dataArr[i];
        let index = name.indexOf(CString.cSplit07);
        if (index >= 0) {
            let sss = name.split(splitDir);
            currIndex = parseInt(sss[0]);//parseInt 
            currDirName = sss[1];
            dirList[currIndex] = currDirName;
        } else {
            let dirPath = "";
            for (let i = 0; i < currIndex + 1; i++) {
                dirPath += dirList[i] + "/";
            }
            dirPath += name;
            let pathObj = {}
            pathObj.name = name;
            pathObj.path = dirPath;
            if (isCInt4) {
                pathObj.onlyPath = CInt4.Get(name);
            }
            fileList[fileNumber] = pathObj;
            fileNumber++;
        }
    }
    return fileList;
}